<template>

	<view style="height: 100%;width: 100%;">
		<web-view :src="`http://192.168.0.128:8080/#/${liveUrl}`">
		</web-view>
	</view>


</template>

<script>
	import {
		mapState
	} from "vuex"
	export default {
		data() {
			return {
				liveUrl: ""
			};
		},
		computed: {


		},
		onShow() {
			this.liveUrl = uni.getStorageSync("liveUrl")
			console.log(this.liveUrl, 'liveUrl')
		},
		onLoad(option) {
			// this.liveUrl = option.liveUrl
		},
		watch: {

		},
		mounted() {

		},
		methods: {

		}
	}
</script>

<style lang="scss">
	.test {
		background-color: lightblue;
		height: 500rpx;
		width: 500rpx;
		position: fixed;
		top: 0;
		z-index: 9999999;
	}
</style>